import adminConfig from '@/admin.config.js'
export default {
  namespaced: true,
  state: {},
  getters: {},
  mutations: {},
  actions: {
    list(_, data) {
      return uni.request({
        url: "/unify/configGroup/index",
        data
      })
    },
    save(_, data = {}) {
      return uni.request({
        url: `/unify/configGroup/${data.id?'update':'save'}`,
        data
      })
    },
    delete(_, data) {
      return uni.request({
        url: "/unify/configGroup/delete",
        data
      })
    },
  }
}